// 处理运费管理的接口

import { createAPI } from '@/utils/request'

// 获取所有运费列表
export const getFreightListAPI = data => createAPI(`/carriages`, 'get', data)

// 新增运费模板
export const addFreightAPI = data => createAPI(`/carriages`, 'post', data)

// 删除运费模板
export const deleteFreightAPI = id => createAPI(`carriages/${id}`, 'delete')
